package com.woniu.user.service;

import com.woniu.common.ResponseData;
import com.woniu.common.dto.TreeBackDTO;
import com.woniu.common.dto.UserRoleDTO;
import com.woniu.user.entity.TMenus;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author hasee
* @description 针对表【t_menus】的数据库操作Service
* @createDate 2025-01-09 19:29:35
*/
public interface TMenusService extends IService<TMenus> {

    ResponseData<?> queryMenuByRole(Integer id);

    ResponseData<?> queryAllMenuAndAuth(UserRoleDTO userRoleDTO);

    ResponseData<?> updateMenuAndAuth(TreeBackDTO treeBackDTO);
}
